home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / serien / purity / nr.42 / includes3v1 / includes3v1.lha / Prefs / WBPattern.i < prev   
Text File  |  1994-12-04  |  1KB  |  43 lines

  1.    {   File format for wbpattern preferences  }
  2.  
  3.  
  4. {$I "Include:Libraries/IffParse.i"}
  5.  
  6. const
  7.  ID_PTRN = 1347703374;
  8.  
  9. Type
  10.  WBPatternPrefs = Record
  11.     wbp_Reserved    : Array[0..3] of Integer;
  12.     wbp_Which,                     { Which pattern is it }
  13.     wbp_Flags       : WORD;
  14.     wbp_Revision,                  { Must be set to zero }
  15.     wbp_Depth       : Byte;        { Depth of pattern }
  16.     wbp_DataLength  : WORD;        { Length of following data }
  17.  end;
  18.  WBPatternPrefsPtr = ^WBPatternPrefs;
  19.  
  20. const
  21. { constants for WBPatternPrefs.wbp_Which }
  22.  WBP_ROOT       = 0;
  23.  WBP_DRAWER     = 1;
  24.  WBP_SCREEN     = 2;
  25.  
  26. { wbp_Flags values }
  27.  WBPF_PATTERN   = $0001;
  28.     { Data contains a pattern }
  29.  
  30.  WBPF_NOREMAP   = $0010;
  31.     { Don't remap the pattern }
  32.  
  33. {***************************************************************************}
  34.  
  35.  MAXDEPTH       = 3;       {  Max depth supported (8 colors) }
  36.  DEFPATDEPTH    = 2;       {  Depth of default patterns }
  37.  
  38. {  Pattern width & height: }
  39.  PAT_WIDTH      = 16;
  40.  PAT_HEIGHT     = 16;
  41.  
  42.  
  43.